from django.conf.urls import url

from apps.app import course, order, wx

urlpatterns = [
    # 课程相关
    url(r'^course/$', course.CourseListView.as_view()),

    # 订单相关
    url(r'^order/$', order.OrderView.as_view()),

    # 微信相关
    url(r'^wx/oauth/$', wx.WxOAuthAuthorize.as_view()),
    url(r'^wx/oauth/callback/$', wx.WxOAuthCallback.as_view()),
]
